package com.hong.fy_model.model.cart;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.hong.fy_model.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author wqh
 * @email 1601709391@qq.com
 * @date 2022-06-16 21:42:56
 */
@Data
@TableName("cart")
@ApiModel(value = "CartEntity", description = "购物车")
public class CartEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 购物车ID
	 */
	@TableId( value = "cart_id",type = IdType.AUTO)
	@ApiModelProperty(value="购物车ID")
	private Integer cartId;

	/**
	 * 用户ID
	 */
	@TableField("user_id")
	@ApiModelProperty(value="用户ID")
	private Integer userId;




}
